package com.djf.eg.entity;

import java.util.Date;
import java.util.List;

public class SysRole implements EgBaseEntityInterface {
	/**
	 * 
	 */
	private static final long serialVersionUID = 6837613391802958640L;
	
    private int id; // 编号
    private String roleName; // 角色标识程序中判断使用,如"admin",这个是唯一的:
    private Date createTime;
    private Date updateTime;
    private String deleteStatus; //DEFAULT '1' COMMENT '是否有效  1有效  2无效',

    private List<SysPermission> permissions;


	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getDeleteStatus() {
		return deleteStatus;
	}

	public void setDeleteStatus(String deleteStatus) {
		this.deleteStatus = deleteStatus;
	}

	public List<SysPermission> getPermissions() {
		return permissions;
	}

	public void setPermissions(List<SysPermission> permissions) {
		this.permissions = permissions;
	}

}
